package com.enzo.prms.common.exception.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.enzo.prms.common.exception.base.handler.DefaultHandler;
import com.enzo.prms.common.exception.base.handler.ExceptionHandler;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Exceptional {
	String errorCode() default "000";
	Class<? extends ExceptionHandler>[] handlers() default{DefaultHandler.class};
}
